<template>
  <div class="streamer" :class="cat ? 'streamer-' + cat : ''">
    <div class="container-center dam-bounce-in-down">
      <slot></slot>
    </div>
  </div>
</template>

<script>
/* 横幅 */
export default {
  props: {
    cat: {
      default: ''
    }
  }
}
</script>

<style lang="scss">
.streamer {
  overflow: hidden;
  min-height: 360px;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  .container-center{
    padding-top: 30px;
  }
  .d-text-center {
    font-weight: 400;
  }
  .text-huge{
    font-size: 36px;
  }
  .btn-container{
    padding-top: 26px;
  }
  .btn-go{
    width: 180px;
    height: 46px;
    line-height: 34px;
    text-align: center;
    font-size: 22px;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #fff;
    transition-duration: 0.4s;
    &:hover{
      border-color: #3391ff;
      background: #3391ff;
    }
  }
}
.streamer-0001{
  background-image: url(./images/streamer-0001.jpg);
}
.streamer-0002{
  background-image: url(./images/streamer-0002.jpg);
}
.streamer-0003{
  background-image: url(./images/streamer-0003.jpg);
}
</style>